<!-- 会员中心主内容区 -->
<div class="page-article">
  <!-- 我的评论 -->
  <div id="member_aftersales" class="member-aftersales">
    <div class="member-tabs">
      <a href="<{link app=aftersales ctl=site_member act=gorefundlist}>"><em><{t}>申请退款<{/t}></em></a>
      <a href="<{link app=aftersales ctl=site_member act=refundrecord}>" class="active"><em><{t}>退款记录<{/t}></em></a>
    </div>
    <div class="member-mod member-aftersales-record">
      <table class="member-grid">
        <thead>
          <tr>
            <th><{t}>订单号<{/t}></th>
            <th><{t}>申请退款金额<{/t}></th>
            <th><{t}>申请时间<{/t}></th>
            <th><{t}>退款原因<{/t}></th>
            <th><{t}>处理状态<{/t}></th>
            <th><{t}>店主反馈<{/t}></th>
            <th><{t}>操作<{/t}></th>
          </tr>
        </thead>
        <{if count($return_list)>0 }>
        <{foreach from=$return_list item=list name=name}>
        <tbody class="<{if $smarty.foreach.name.iteration == 1}>first<{/if}>">
          <tr>
            <td class="order"><{$list.order_id}></td>
            <td class="subject"><{$list.apply_money}></td>
            <td class="datetime"><{$list.add_time|cdate:'FDATE_FTIME'}></td>
            <td class="datetime"><{$list.content}></td>
            <td class="status">
              <{switch from=$list.status}>
                <{case value=1}><{t}>申请中<{/t}>
                <{case value=2}><{t}>退款完成<{/t}>
                <{case value=3}><{t}>审核未通过<{/t}>
              <{/switch}>
            </td>
            <td class="subject"><{$list.admin_content}></td>
            <{if $list.status==3}>
            <td class="subject"><a href="<{link app=aftersales ctl=site_member act=again_refund arg0=$list.order_id arg1=$list.apply_id}>"><{t}>重新申请<{/t}></a></td>
            <{/if}>
          </tr>
        </tbody>
        <{/foreach}>
        <{else}>
        <tbody>
        <tr class="first"><td colspan="7" class="no-information"><{t}>暂无售后服务订单<{/t}></td></tr>
        </tbody>
        <{/if}>
      </table>
    </div>
    <{pagers data=$pager}>
  </div>
</div>

